﻿using Abp.Domain.Entities;
using Abp.Domain.Repositories;
using Abp.EntityFrameworkCore;
using Abp.EntityFrameworkCore.Repositories;

namespace pandx.Mulan.EntityFrameworkCore.Repositories
{
 
    public abstract class MulanRepositoryBase<TEntity, TPrimaryKey> : EfCoreRepositoryBase<MulanDbContext, TEntity, TPrimaryKey>
        where TEntity : class, IEntity<TPrimaryKey>
    {
        protected MulanRepositoryBase(IDbContextProvider<MulanDbContext> dbContextProvider)
            : base(dbContextProvider)
        {
        }

      
    }

   
    public abstract class MulanRepositoryBase<TEntity> : MulanRepositoryBase<TEntity, int>, IRepository<TEntity>
        where TEntity : class, IEntity<int>
    {
        protected MulanRepositoryBase(IDbContextProvider<MulanDbContext> dbContextProvider)
            : base(dbContextProvider)
        {
        }

       
    }
}

